package cn.iocoder.yudao.module.energy.enums.device;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 设备状态枚举
 *
 * @author 芋道源码
 */
@Getter
@AllArgsConstructor
public enum DeviceStatusEnum {

    NORMAL("normal", "正常"),
    OFFLINE("offline", "离线"),
    FAULT("fault", "故障"),
    MAINTENANCE("maintenance", "维护中");

    /**
     * 状态
     */
    private final String status;
    /**
     * 名称
     */
    private final String name;

} 